public class Phone {
    String brand;
    private int money;
    private int num;
    public String getNumber() {
        return number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    private String number;
    //设置值
    public void setMoney(int money) {
        this.money = money;
    }
    //获取值
    public int getMoney() {
        return money;
    }

    public Phone() {
        this.money=999999999;
    }

    public void call(){
        System.out.println("打电话...");
    }
}
